package com.csht.service;

import com.csht.model.CshtUser;

/**
 * 注册service接口
 * @author chenhuiyan
 *
 */
public interface RegisterService {
	
	/**
	 * 根据用户名查询用户
	 * @param username
	 * @return
	 * @throws Exception
	 */
	public CshtUser getUserByUsername(String username) throws Exception;
	
	/**
	 * 用户注册
	 * @param cshtUser
	 * @throws Exception
	 */
	public void userRegister(CshtUser cshtUser) throws Exception;
	
	/**
	 * 根据手机号查找用户
	 * @param userTel
	 * @return
	 * @throws Exception
	 */
	public CshtUser findUserByTel(String userTel) throws Exception;
}
